import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'menuiconmagrin'
})
export class MenuiconmagrinPipe implements PipeTransform {

  transform(value: any, args?: any): any {
    if(value=='极速彩'){
      return '6%';
  }else if(value=='时时彩'){
    return 'inherit';
  }else if(value=='快开彩'){
    return '20%';
  }else if(value=='香港彩'){
    return 'inherit';
  }else if(value=='全国彩'){
    return 'inherit';
  }
    return "inherit";
  }

}
